home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17577 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.0 KB

  1. Path: uxh.cso.uiuc.edu!p-kumar
  2. From: kumar prashant <p-kumar@uxh.cso.uiuc.edu>
  3. Newsgroups: comp.lang.c++
  4. Subject: Problem compiling C++ pgm
  5. Date: Tue, 16 Apr 1996 11:26:19 -0500
  6. Organization: University of Illinois at Urbana
  7. Message-ID: <Pine.CVX.3.91.960416112146.21292A-100000@uxh.cso.uiuc.edu>
  8. NNTP-Posting-Host: uxh.cso.uiuc.edu
  9. Mime-Version: 1.0
  10. Content-Type: TEXT/PLAIN; charset=US-ASCII
  11.  
  12. Hi
  13.  
  14.     I was compiling C++ code on an SGI using the CC compiler. I have 
  15. used templates in some places. I have a template declaration file Dlist.h 
  16. All functions used by this class are declared and defined in this file.
  17.  
  18.     All my object files are made without any problem. During linking 
  19. I get the following error. I can't make head or tail of it.
  20.  
  21.     CC -xansi -O2  -lm -o /afs/ncsa/scratch/temp/pkumar/tpetri 
  22. -bloadmap:error /afs/ncsa/scratch/temp/pkumar/tpetri.o 
  23. /afs/ncsa/scratch/temp/pkumar/etc.o /afs/ncsa/scratch/temp/pkumar/parse.o 
  24. /afs/ncsa/scratch/temp/pkumar/value.o /afs/ncsa/scratch/temp/pkumar/tok.o 
  25. /afs/ncsa/scratch/temp/pkumar/map.o /afs/ncsa/scratch/temp/pkumar/place.o 
  26. /afs/ncsa/scratch/temp/pkumar/trans.o 
  27. /afs/ncsa/scratch/temp/pkumar/net.o  
  28. CC[ptlink] warning: template definition file Dlist.c not found
  29. CC[ptlink] fatal error: could not move DList__pt__5_3Map.o --> 
  30. ./ptrepository/DList__pt__5_3Map.o
  31. *** Error code 1 (bu21)
  32.  
  33.     Can anybody figure out what is happening ?
  34.  
  35. Thanks in advance
  36. Prashant
  37.  
  38.                                   \|||/  
  39.                                  ( O-O ) 
  40. ---*-------------*----------.ooo0--(_)-0ooo.------*------------*-------
  41.  
  42.       PRASHANT KUMAR            URL <http://orion.me.uiuc.edu/~p-kumar>
  43.  
  44. Off : 348 CSRL, Mech & Ind Engg                Res: 203 S.Sixth St.#101
  45.       Urbana, IL 61801                              Champaign, IL 61820
  46.       (217) 333-2850          .oooO                 (217) 398-1232 
  47.                               (   )   Oooo.                     
  48. ---*--------------*------------\ (----(   )-------*------------*-------
  49.                                 \_)    ) /
  50.                                       (_/ 
  51.  
  52.